package com.itheima.youdianda.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.youdianda.domain.SysUser;
import com.itheima.youdianda.dto.PageDto;
import com.itheima.youdianda.dto.SysUserDto;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.List;

/**
 * 用户管理处理层
 */
public interface SysUserService extends IService<SysUser> {
     //用户分页
     PageDto<SysUserDto> sysUserList(Integer page, Integer limit, String loginName, Integer status, String phone);
     //用户逻辑删除
     void sysUserDel(String id);

     void sysUserAdd(SysUserDto sysUserDto);

     SysUserDto sysUserRowInfo(String id);

     void sysUserUpdate(SysUserDto sysUserDto);
}
